import Vue from 'vue'
import Router from 'vue-router'
import index from '@/pages/app'
import point from '@/pages/point'
import build from '@/pages/build'

Vue.use(Router)

export default new Router({
	//mode:'history',
  routes: [
    {
      path: '/build/:pointId/:buildName',
      name: 'build',
      component: build
    },
    {
      path: '/point/:pointId',
      name: 'point',
      component: point
    }
  ]
})
